<%= form_tag({},{:class=>"form-signin"}) do %>
     <h2 class="form-signin-heading">Please sign in</h2>
     <%=render "layouts/errors"%>
     <%= text_field_tag('username',nil,{:class=>"form-control",:placeholder=>"Username",:required=>true,:autofocus=>true}) %>
     <%= password_field_tag('password',nil,{:class=>"form-control",:placeholder=>"Password",:required=>true}) %>
     <br/>
     <%= submit_tag("Login", {:class=>"btn btn-lg btn-primary btn-block"}) %>
     <%=link_to "Register New User", register_path, :class=>"btn btn-lg btn-block btn-default"%>
<% end %>

